package com.cloudtcm.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(description = "用户注册时传递的数据模型")
public class UserDTO implements Serializable {
    @ApiModelProperty("id")
    private Long id;
    @ApiModelProperty("用户名")
    private String username;
    @ApiModelProperty("密码")
    private String password;
    @ApiModelProperty("手机号")
    private String phone;
    @ApiModelProperty("性别")
    private String sex;
    @ApiModelProperty("年龄")
    private int age;
    @ApiModelProperty("身高")
    private int height;
    @ApiModelProperty("体重")
    private int weight;
    @ApiModelProperty("头像路径")
    private String image;
    @ApiModelProperty("备注")
    private String comment;
}
